﻿@model IEnumerable<BskLeague.Models.Communicate>

@{
    ViewBag.Title = "Komunikaty";
}

@Html.Partial("_Submenu")


<h3>@Html.ActionLink("Wyślij komunikat", "CreateCommunicate")</h3>

<h3>Otrzymane komunikaty:</h3>

@foreach (var item in Model.OrderBy(o => o.Date))
{
    @Html.Partial("_Communicate", item)
}

